/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.uhk.ppro.traveler.logic;

import net.sourceforge.stripes.action.DefaultHandler;
import net.sourceforge.stripes.action.ForwardResolution;
import net.sourceforge.stripes.action.Resolution;

/**
 *
 * @author dusi
 */
public class LogoutActionBean extends BaseActionBean {
    
    // Actions
    @DefaultHandler
    public Resolution logout() {
        
        getContext().setCurrentUser(null);
        return new ForwardResolution("/index.jsp");
    }
}
